package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SetAccessoryAreaReq {
    @NotBlank
    @Schema(name = "deviceId",description = "设备id 由1-128位数字与字⺟组成 必传")
    private String deviceId;

    @NotBlank
    @Schema(name = "accessoryId",description = "配件id")
    private String accessoryId;

    @NotNull
    @Schema(name = "areaId",description = "分区id")
    private Integer areaId;

    @Schema(name = "accessoryName",description = "配件名称")
    private String accessoryName;

}
